import Vue from 'vue'
import App from './App.vue'
import router from "./routers";
import store from './store';
import lodash from 'lodash';
import moment from 'moment';
import ECharts from "vue-echarts";
import Antd from 'ant-design-vue';
import "./global.less";
import "./permission.js";

import "echarts/lib/chart/bar";
import "echarts/lib/component/tooltip";
import "echarts/lib/component/legend";
import "echarts/lib/component/title";
import "echarts/lib/component/markLine";
import "echarts/lib/chart/line";
import "echarts/lib/chart/radar";
import "echarts/lib/chart/pie";

Vue.config.productionTip = false

Vue.component("v-chart", ECharts);
Vue.use(Antd);
Vue.prototype.$lodash = lodash;
Vue.prototype.$moment = moment;

new Vue({
    store,
    router,
    render: h => h(App),
}).$mount('#app')
